
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:th="http://www.thymeleaf.org"
	xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout"
	layout:decorator="main">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>学校详细信息</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link href="css/bootstrap.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript">
	KE.show({
		id : 'content7',
		cssPath : './index.css'
	});
</script>

<script type="text/javascript">
	$(document).ready(function(e) {
		$(".select1").uedSelect({
			width : 345
		});
		$(".select2").uedSelect({
			width : 167
		});
		$(".select3").uedSelect({
			width : 100
		});
	});
</script>
</head>
<body layout:fragment="content">
	<div class="place">
		<span>位置：</span>
		<ul class="placeul">
			<li><a href="/ordering/home">首页</a></li>
			<li><a href="#">群组详细信息</a></li>
		</ul>
	</div>
	<div class="formbody">
		<div id="usual1" class="usual">
			<div class="itab">
				<ul>
					<li><a href="#tab1" class="selected">群组详细信息</a></li>
				</ul>
			</div>
			<div id="tab1" class="tabson">
				<ul class="forminfo" th:object="${educationGroupResponse}">
					<li><label>群组名称<b>*</b></label><label th:text="*{name}"></label></li>
					<li><label>所属学校<b>*</b></label><label
						th:text="*{teacher.school} eq null ? '':*{teacher.school.name}"></label></li>
					<li><label>所属年级<b>*</b></label><label th:text="*{grade.name}"></label></li>
					<li><label>所属班级<b>*</b></label><label th:text="*{clazz.name}"></label></li>
					<li><label>群组描述<b>*</b></label><label><span
							th:text="*{description}"></span></label></li>
					<li><label>群组群主<b>*</b></label><label
						th:text="*{teacher.name}"></label><!-- <label><a href="#"
							class="btn btn-primary btn-lg" data-toggle="modal"
							data-target="#exampleModalCenter">修改(待做)</a></label> --></li>
					<li><label>群组老师<b>*</b></label>
						<table class="table table-hover">
							<tr>
								<td>序号</td>
								<td>任教科目</td>
								<td>姓名</td>
								<td>联系方式</td>
							</tr>
							<tr>
								<td th:text="0"></td>
								<td th:text="*{teacher.subject} eq null ? '无':*{teacher.subject.name}"></td>
								<td th:text="*{teacher.name}+'('+群主+')'"></td>
								<td th:text="*{teacher.mobile}"></td>
							</tr>
							<tr th:each="teacher : *{teachers}">
								<td th:text="${teacherStat.count}"></td>
								<td
									th:text="${teacher.subject} eq null ? '无':${teacher.subject.name}"></td>
								<td th:text="${teacher.name}"></td>
								<td th:text="${teacher.mobile}"></td>
							</tr>
						</table></li>
					<li><label>群组学生<b>*</b></label>
						<table class="table table-hover">
							<tr>
								<td>序号</td>
								<td>姓名</td>
								<td>姓别</td>
								<td>年龄</td>
								<td>联系方式</td>
							</tr>
							<tr th:each="student : *{students}">
								<td th:text="${studentStat.count}"></td>
								<td th:text="${student.name}"></td>
								<td
									th:text="${student.sex}eq 1? '男':(${student.sex} eq 0? '女':'中性')"></td>
								<td th:text="${student.age}"></td>
								<td th:text="${student.mobile}"></td>
							</tr>
						</table></li>
				</ul>
			</div>
		</div>
	</div>
	<!-- Modal -->
	<div class="modal fade" id="exampleModalCenter" tabindex="-1"
		role="dialog" aria-labelledby="exampleModalCenterTitle"
		aria-hidden="true">
		<div class="modal-dialog modal-dialog-centered" role="document">
			<div class="modal-content">
				<div class="modal-header">
					<h5 class="modal-title" id="exampleModalLongTitle">Modal title</h5>
					<button type="button" class="close" data-dismiss="modal"
						aria-label="Close">
						<span aria-hidden="true">&times;</span>
					</button>
				</div>
				<div class="modal-body">...</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-secondary"
						data-dismiss="modal">Close</button>
					<button type="button" class="btn btn-primary">Save changes</button>
				</div>
			</div>
		</div>
	</div>
</body>
</html>
